{{ define "header" }}
<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />	
	<title>{{ .Data.Title }} - {{ SiteName }}</title>
	<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1" />

	<link href="/static/public/static/style.css" rel="stylesheet" type="text/css" />

	{{ if ne FaviconURL "" }}
		<link rel="icon" href="{{ FaviconURL }}" type="image/x-icon" />
	{{ else }}
		<link rel="icon" href="/public/static/favicon.png" type="image/png" />
	{{ end }}
</head>
<body>
    <div class="container wrap">
		<header class="header">
			<div class="logo">
				{{ if ne LogoURL "" }}
					<img src="{{ LogoURL }}" alt="{{ SiteName }}" />
				{{ else }}
					<img src="/public/static/logo.svg" alt="{{ SiteName }}" />
				{{ end }}
				</a>
			</div>
		</header>
{{ end }}

{{ define "footer" }}
	</div>
	<footer class="container">
		{{ L.T "globals.messages.poweredBy" }} <a target="_blank" rel="noreferrer" href="https://libredesk.io/">Libredesk</a>
	</footer>
</body>
</html>
{{ end }}